package cn.jinjimi.app.entity.AppConfig;

import com.google.gson.annotations.SerializedName;

/**
 * Created by zhenhua on 17/1/3.
 */

public class AppAlert {

    public static final String TARGET_ANONYMOUS = "anonymous";
    public static final String TARGET_NEW = "new";
    public static final String TARGET_USER = "user";

    public static final String DISPLAY_ONCE = "once";
    public static final String DISPLAY_EVERYTIME = "everytime";
    public static final String DISPLAY_EVERYSESSION = "everysession";

    public AppAlert(){
        this.content = new Content();
    }

    /** Alert UUID */
    public String id;
    public String display;
    public String target;

    public Content content;

    public static class Content {
        @SerializedName("image_url")
        public String imageUrl = "";

        @SerializedName("link_url")
        public String linkUrl = "";
    }
}
